﻿using System.Web.Mvc;
using Portfolio.Models;
using Portfolio.Negocio;

namespace Portfolio.Ui.Web.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            CoversRepository covers = new CoversRepository();

            return View(new ViewModelBase()
            {
                Covers = covers.ListarCovers()
            });
        }
    }
}